package com.zh.work.entity.branch;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel("机构app实体类信息")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("branch_app")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class BranchAppEntity extends Model<BranchAppEntity> {
    private static final long serialVersionUID = -38598352287033791L;

    @ApiModelProperty(value = "主键", name = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "机构编号", name = "branchNo")
    @TableField(value = "branchno")
    private String branchNo;
    @ApiModelProperty(value = "APP名称", name = "appName")
    private String appName;
    @ApiModelProperty(value = "APP-LOGO", name = "appLogo")
    private String appLogo;
    @ApiModelProperty(value = "APP版本", name = "appVersion")
    private String appVersion;
    @ApiModelProperty(value = "开通T+0(1-未开通 2-开通)", name = "appOpenT0")
    private Integer appOpenT0;
    @ApiModelProperty(value = "开通一机多费率(1-未开通 2-开通)", name = "appOpenMulti")
    private Integer appOpenMulti;
    @ApiModelProperty(value = "APP功能权限", name = "appAuth")
    private String appAuth;
    @ApiModelProperty(value = "APP的帮助中心的内容", name = "appHelpContent")
    private String appHelpContent;
    @ApiModelProperty(value = "APP的关于我们的内容", name = "appMyselfContent")
    private String appMyselfContent;
    @ApiModelProperty(value = "Android路径", name = "appAndroidUrl")
    private String appAndroidUrl;
    @ApiModelProperty(value = "IOS路径", name = "appIosUrl")
    private String appIosUrl;
    @ApiModelProperty(value = "app下载地址(用于表示版本号)", name = "appDownloadUrl")
    private String appDownloadUrl;
    @ApiModelProperty(value = "T0费率", name = "appRateT0")
    private Float appRateT0;
    @ApiModelProperty(value = "T1费率", name = "appRateT1")
    private Float appRateT1;
    @ApiModelProperty(value = "录入时间", name = "addTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm::ss")
    private Date addTime;
    @ApiModelProperty(value = "手刷借记卡费率", name = "mposDebitRate")
    private Float mposDebitRate;
    @ApiModelProperty(value = "手刷借记卡封顶", name = "mposDebitFixed")
    private Float mposDebitFixed;
    @ApiModelProperty(value = "手刷信用卡费率", name = "mposCreditRate")
    private Float mposCreditRate;
    @ApiModelProperty(value = "手刷T+0增量", name = "mposT0Add")
    private Float mposT0Add;
    @ApiModelProperty(value = "微信T+1费率", name = "wxT1Rate")
    private Float wxT1Rate;
    @ApiModelProperty(value = "支付宝T+1费率", name = "zfbT1Rate")
    private Float zfbT1Rate;
    @ApiModelProperty(value = "微信T+0费率", name = "wxT0Rate")
    private Float wxT0Rate;
    @ApiModelProperty(value = "支付宝T+0费率", name = "zfbT0Rate")
    private Float zfbT0Rate;
    @ApiModelProperty(value = "消息推送编码", name = "pushKey")
    private String pushKey;
    @ApiModelProperty(value = "消息推送密钥", name = "pushSec")
    private String pushSec;
    @ApiModelProperty(value = "开通虚拟账户(1-未开通 2-开通)", name = "openVirt")
    private Integer openVirt;
    @ApiModelProperty(value = "开通分销功能(1-未开通 2-开通)", name = "openSale")
    private Integer openSale;
    @ApiModelProperty(value = "推送模式(1-测试 2-生产)", name = "pushModel")
    private Integer pushModel;
    @ApiModelProperty(value = "MPOS销售收款商户", name = "mposCollection")
    private String mposCollection;
    @ApiModelProperty(value = "用户升级收款商户", name = "levelCollection")
    private String levelCollection;
    @ApiModelProperty(value = "开通业务(1-Mpos 2-传统pos 4-二维码 8-网关 16-快捷)", name = "bizType")
    private Integer bizType;
    @ApiModelProperty(value = "快捷t0费率", name = "kzT0Rate")
    private Float kzT0Rate;
    @ApiModelProperty(value = "快捷t1费率", name = "kzT1Rate")
    private Float kzT1Rate;
    @ApiModelProperty(value = "QQ支付T+1费率", name = "qqT1Rate")
    private Float qqT1Rate;
    @ApiModelProperty(value = "QQ支付T+0费率", name = "qqT0Rate")
    private Float qqT0Rate;
    @ApiModelProperty(value = "逻辑删除1:删除", name = "deleted")
    private Integer deleted;
    @ApiModelProperty(value = "序列化之后机构银行卡鉴权资料数据", name = "jsonValid")
    @TableField(exist = false)
    private String jsonValid;
}
